#!/bin/sh
set -e

# 尝试安装桌面快捷方式，忽略错误
xdg-desktop-menu install --novendor /opt/apps/ink.mint/deeplearning-app/lib/resources/deeplearning-app.desktop || true

# 其他安装后操作
mkdir -p /var/lib/deeplearning-app/data
chmod 755 /var/lib/deeplearning-app/data